Loading...
 

MATLAB implementation of the bitmap projection problem

Below you can find a link to the MATLAB code that calculates the L2 isogeometric bitmap projection.
The code uses the isogeometric finite element method in which the bitmap is approximated by a linear combination of B-spline polynomials.

The code execution is also possible in the free Octave(external link) environment.
Download code(external link) or see Appendix 1.

We set the variables with the path to the input file in tif format
\( filename = 'C://Users/Maciej/Dropbox/bitmapa.tif' \)
then we give the number of mesh elements in the x and y directions \( nxx=4 \), \( nyy=4 \),
and the degrees of the B-spline function in these directions \( pxx=2 \), \( pyy=2 \).
Then we start the first procedure
\( bitmap\_fast(filename,nxx,pxx,nyy,pyy) \).
The code computes the isogeometric L2 projection of a bitmap and draws the projection in the open window.


Ostatnio zmieniona Piątek 04 z Luty, 2022 14:26:54 UTC Autor: Maciej Paszynski
Zaloguj się/Zarejestruj w OPEN AGH e-podręczniki
Czy masz już hasło?

Hasło powinno mieć przynajmniej 8 znaków, litery i cyfry oraz co najmniej jeden znak specjalny.

Przypominanie hasła

Wprowadź swój adres e-mail, abyśmy mogli przesłać Ci informację o nowym haśle.
Dziękujemy za rejestrację!
Na wskazany w rejestracji adres został wysłany e-mail z linkiem aktywacyjnym.
Wprowadzone hasło/login są błędne.